home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-07-15 | 688 b | 28 lines | [TEXT/PJMM] |
- program TestGetFolder;
- { test program requires Think Pascal }
- uses
- GetFolder;
- var
- mySFR: StandardFileReply;
- begin
- showtext; { show Think Pascal's simple i/o window }
-
- StandardGetFolder(mySFR);
- if mySFR.sfGood = false then
- writeln('SFR not good')
- else
- with mySFR do
- begin
- writeln('sfGood:', sfGood);
- writeln('sfReplacing:', sfReplacing);
- writeln('sfType:', sfType);
- writeln('sfFile:', sfFile.name, sfFile.vRefNum : 3, sfFile.parID : 5);
- writeln('sfScript:', sfScript);
- writeln('sfFlags:', sfFlags);
- writeln('sfIsFolder:', sfIsFolder);
- writeln('sfIsVolume:', sfIsVolume);
- end;
- WriteLn;
- WriteLn('press return to quit...');
- readln;
- end.